package design.mediator;

/**
 * Created by admin on 2019/3/21.
 */
public class Client {
    public static void main(String[] args) {
        Medium m = new Manager();
        Colleague c1 = new Colleague1("Colleague1",m);
        Colleague c2 = new Colleague1("Colleague2",m);
        Colleague c3 = new Colleague1("Colleague3",m);

        c3.communicate();
    }
}
